﻿using Newtonsoft.Json;
using WMS.FC.Domain.ValueObject.System;

namespace WMS.FC.Domain.ValueObject.Technology
{
    public class TechnologyRouteProcessVO : ValueObjectBase
    {
        /// <summary>
        /// 主键
        /// </summary>
        [JsonProperty("id")]
        public string Id { get; set; } = string.Empty;

        /// <summary>
        /// 工艺路径编码
        /// </summary>
        [JsonProperty("technology_route_code")]
        public string TechnologyRouteCode { get; set; } = string.Empty;

        /// <summary>
        /// 排序
        /// </summary>
        [JsonProperty("sort_number")]
        public int SortNumber { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        [JsonProperty("description")]
        public string Description { get; set; } = string.Empty;

        /// <summary>
        /// 工艺工序编码
        /// </summary>
        [JsonProperty("technology_process_code")]
        public string TechnologyProcessCode { get; set; } = string.Empty;

        /// <summary>
        /// 状态编码
        /// </summary>
        [JsonProperty("state_code")]
        public string StateCode { get; set; } = string.Empty;

        /// <summary>
        /// 静置时间
        /// </summary>
        [JsonProperty("aging_time")]
        public int? AgingTime { get; set; }

        /// <summary>
        /// 配方名
        /// </summary>
        [JsonProperty("recipe_name")]
        public string? RecipeName { get; set; }
    }
}
